package com.shi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shi.entity.po.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (Menu)表数据库访问层
 *
 * @author makejava
 * @since 2024-05-14 15:23:11
 */
public interface MenuMapper extends BaseMapper<Menu> {

    /**
     * 根据用户id查询菜单列表
     *
     * @return
     */
    List<Menu> selectByAccountId(@Param("accountId") Integer accountId);


}

